﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleOldToNew
{
    class MainProtocol
    {
        public MainProtocol()
        {

        }
        //string strST,string strTP,string strPW,string strMN,string strDATATIME,string strControllerId,string strDate
        private string strST;
        /// <summary>
        /// 获取或设置系统指令
        /// </summary>
        public string StrST
        {
            get { return strST; }
            set { strST = value; }
        }

        private string strTP;
        /// <summary>
        /// 获取或设置污染类型
        /// </summary>
        public string StrTP
        {
            get { return strTP; }
            set { strTP = value; }
        }

        private string strPW;
        /// <summary>
        /// 获取或设置通讯密码
        /// </summary>
        public string StrPW
        {
            get { return strPW; }
            set { strPW = value; }
        }

        private string strMN;
        /// <summary>
        /// 获取或设置总量控制器编号
        /// </summary>
        public string StrMN
        {
            get { return strMN; }
            set { strMN = value; }
        }

        private string strDATATIME;
        /// <summary>
        /// 获取或设置发送时间
        /// </summary>
        public string StrDATATIME
        {
            get { return strDATATIME; }
            set { strDATATIME = value; }
        }

        private string strControllerId;
        /// <summary>
        /// 获取或设置控制器ID
        /// </summary>
        public string StrControllerId
        {
            get { return strControllerId; }
            set { strControllerId = value; }
        }

        private string strDate;
        /// <summary>
        /// 获取或设置发送数据时间
        /// </summary>
        public string StrDate
        {
            get { return strDate; }
            set { strDate = value; }
        }

        //private string strEnterpriseOnlineCode;
        ///// <summary>
        ///// 获取或设置企业在线编码
        ///// </summary>
        //public string StrEnterpriseOnlineCode
        //{
        //    get { return strEnterpriseOnlineCode; }
        //    set { strEnterpriseOnlineCode = value; }
        //}

    }
}
